package cn.crex1.xiaomi.core.orm.type.converter;

import java.math.BigInteger;

public class BigIntegerTypeConverter {
	public BigInteger converterType(String type) {
		BigInteger bigInteger=new BigInteger(type);
		return bigInteger;
	}
	public Integer converterTypetoInteger(BigInteger bg) {
		return bg.intValueExact();
	}
	public Long converterTypetoLong(BigInteger bg) {
		return bg.longValueExact();
	}
}
